package com.yunxi.dao.otd;


import com.yunxi.core.dao.BaseMapperPlus;
import com.yunxi.model.otd.OtdWeekPlan;
import com.yunxi.otd.pojo.OtdWeekPlanVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 周度需求计划 Mapper 接口
 * </p>
 *
 * @author XUQI
 * @since 2019-05-09
 */
public interface OtdWeekPlanMapper extends BaseMapperPlus<OtdWeekPlan> {

    void updateWeekPlanNum(@Param("realName") String realName, @Param("weekPlanCode") String weekPlanCode);

    OtdWeekPlan selectWeekPlanByWeek(@Param("year") String year, @Param("week") String week);

    OtdWeekPlanVO selectWeekPlanById(String weekPlanId);

    Integer selectWeekNumByWeek(@Param("year") String year, @Param("month") String month, @Param("week") String week);

    void deleteWeekPlanByCode(String weekPlanCode);
}
